Receipt Text Format Registry entry

Specifies the format of the product lines that print on a receipt.

Usage

This Registry entry is assigned to groups:

KeyGroup
Key 1Group
Key 2Default
Key 3Table
Key 4epos
Key 5Receipt Text Format
Valuecolumn=format;column=format;...

where:

column=format;column=format;...

is a semicolon separated list of column=format pairs. The column indicates from which column to get the data, and the format indicates how to print it. The format is built sequentially across the page. Headers for the columns are taken from their prompt property set in the Title Registry entry.

All formats are printf style formats.

Example

This entry specifies that the receipt will be formatted in four columns: the first contains the quantity ordered, the second the product ordered, the third the product price and the fourth the sub-total:

KeySetting
Key 1 Group
Key 2 Default
Key 3 Table
Key 4 epos
Key 5 Receipt Text Format
Value SalQuantity_tab=%-5s;SalProduct_tab=%-33s;SalPrice_tab=%8s;SalSubTotal_ta b=%10s